<%@page contentType="text/html; charset=UTF-8"%>
<%@taglib uri="/WEB-INF/struts-tags.tld" prefix="s"%>
<%@taglib uri="/WEB-INF/dianning.tld" prefix="dianning"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta content="zh-cn" http-equiv="Content-Language" />
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title>设置刷新</title>
<link href="/css/infotop.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" charset="utf-8"  src="/js/jquery-1.4.2.min.js"></script>
<script>
$(	function(){
	var frm = parent.$("#<s:property value="frm" escape="false"/>_<s:property value="id"/>");
	frm.css("height", "215px");
	}
)
</script>
</head>

<body>

	<div class="mbottom">
		<div class="newzd"> 
			<div class="zdbody">
			<!-- 置顶主体开始 -->
				<div class="zdtit">
					<ul>
						<li class="select"><span><a href="info.action?action=refresh&frm=<s:property value="frm" escape="false"/>&id=<s:property value="id"/>">刷新</a></span></li>
						<li><span><a href="info.action?action=autorefresh&frm=<s:property value="frm" escape="false"/>&id=<s:property value="id"/>">定时刷新</a></span></li>
						<li><span><a href="info.action?action=top&frm=<s:property value="frm" escape="false"/>&id=<s:property value="id"/>">置顶</a></span></li>
						<li><span><a href="info.action?action=autotop&frm=<s:property value="frm" escape="false"/>&id=<s:property value="id"/>">委托置顶</a></span></li>
					</ul>
				</div>
				<div class="clear"></div>
				<div class="zdinfo">
					<div class="tjzd">	
					<s:if test="message=='true'">
					<div class="yellow-b">刷新成功</div>
					</s:if>
					<s:else>
						<s:if test="free=='true'">															
						<table border="0" cellpadding="0" cellspacing="0" class="tjzdtable">
						<form name="free" id="free" method="post" action="info.action">
						<input name="action" id="action" type="hidden" value="freerefresh" />
						<input name="id" id="id" type="hidden" value="<s:property value="id"/>" />
						<tr>
							<td colspan="2">
								<div class="yellow-b">
								<table width="100%" border="0">
								<tr>
									<td>本次刷新<span class="red">免费</span>(每天可以免费刷新1条信息)，确定要刷新吗？
									</td>
								</tr>
								</table>
								</div>
							</td>
						</tr>
						<tr>
							<td class="tdwt">&nbsp;&nbsp;</td>
							<td><span class="tyzdbut">
								 <label class="butt">
								  <input name=""  type="submit" value="确定刷新" class="btns" />
								  </label>
							</span>
							</td>
						</tr>
						</form>
						</table>
						</s:if>
						<s:if test="free=='false'">
						<s:if test="money.points>=refreshMoney">
						<table border="0" cellpadding="0" cellspacing="0" class="tjzdtable">
						<form name="free" id="free" method="post" action="info.action">
						<input name="action" id="action" type="hidden" value="dorefresh" />
						<input name="id" id="id" type="hidden" value="<s:property value="id"/>" />
						<tr>
							<td colspan="2">
								<div class="yellow-b">
								<table width="100%" border="0">
								<tr>
									<td>您选择了1条信息，预计需要支付<span class="red"><s:property value="refreshMoney"/></span>积分，确定要刷新吗？
									</td>
								</tr>
								</table>
								</div>
							</td>
						</tr>
						<tr>
							<td class="tdwt">&nbsp;&nbsp;</td>
							<td><span class="tyzdbut">
								 <label class="butt">
								  <input name=""  type="submit" value="确定刷新" class="btns" />
								  </label>
							</span>
							</td>
						</tr>
						</form>
						</table>
						</s:if>
						<s:else>
						<table border="0" cellpadding="0" cellspacing="0" class="tjzdtable">
						<tr>
							<td colspan="2">
								<div class="yellow-b">
								<table width="100%" border="0">
								<tr>
									<td><span class="red">余额不足！</span>您选择了1条信息，预计需要支付<span class="red"><s:property value="refreshMoney"/></span>积分.
									</td>
								</tr>
								</table>
								</div>
							</td>
						</tr>
						</table>
						</s:else>
						</s:if>
					</s:else>
					</div>
			</div>
		</div>
	</div>
</body>
</html>

